﻿@model EvincePayroll.Data.EmployeeData
<link href="../../Content/Tab_CSS/general.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/Tab_Script/tabs.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $.get('/Account/_AddExperince', function (data1) {
            $("#wrokExperince").html(data1);

        });
        $(function () {
            // setup ul.tabs to work as tabs for each div directly under div.panes
            $("ul.tabs").tabs("div.panes > div");
        });
        $('#firstNameError').hide();
        $('#lastNameError').hide();
        $('#email').hide();
        $('#altemail').hide();
        $('#dobError').hide();
        $('#contactError').hide();
        $('#tempAddressError').hide();
        $('#paramAddressError').hide();
        $('#pinCodeError').hide();
        $('#stateError').hide();
        $('#cityError').hide();
        //        Calendar.setup({
        //            inputField: "XDurationYearFrom",
        //            baseField: "XDurationFrom",
        //            displayArea: "XDurationCalander",
        //            button: "XFrom",
        //            ifFormat: "%B %e, %Y",
        //            onSelect: selectDate
        //        });
        $('#XCourseError').hide();
        $('#XCourseTypeError').hide();
        $('#XUniversityError').hide();
        $('#XCGPAError').hide();
        $('#XDurationFromError').hide();
        $('#XDurationToError').hide();


        $('#XIICourseError').hide();
        $('#XIICourseTypeError').hide();
        $('#XIIUniversityError').hide();
        $('#XIICGPAError').hide();
        $('#XIIDurationFromError').hide();
        $('#XIIDurationToError').hide();


//        $('#GCourseError').hide();
//        $('#GCourseTypeError').hide();
//        $('#GUniversityError').hide();
//        $('#GCGPAError').hide();
//        $('#GDurationFromError').hide();
//        $('#GDurationToError').hide();


//        $('#PCourseError').hide();
//        $('#PCourseTypeError').hide();
//        $('#PUniversityError').hide();
//        $('#PCGPAError').hide();
//        $('#PDurationToError').hide();
//        $('#PDurationFromError').hide();

        $("#validate").submit(function () {
            var flag = false;
            $('#firstNameError').hide();
            $('#lastNameError').hide();
            $('#email').hide();
            $('#altemail').hide();
            $('#dobError').hide();
            $('#contactError').hide();
            $('#tmpaddressError').hide();
            $('#paramAddressError').hide();
            $('#pinCodeError').hide();
            $('#stateError').hide();
            $('#cityError').hide();

            $('#XCourseError').hide();
            $('#XCourseTypeError').hide();
            $('#XUniversityError').hide();
            $('#XCGPAError').hide();
            $('#XDurationFromError').hide();
            $('#XDurationToError').hide();


            $('#XIICourseError').hide();
            $('#XIICourseTypeError').hide();
            $('#XIIUniversityError').hide();
            $('#XIICGPAError').hide();
            $('#XIIDurationFromError').hide();
            $('#XIIDurationToError').hide();


//            $('#GCourseError').hide();
//            $('#GCourseTypeError').hide();
//            $('#GUniversityError').hide();
//            $('#GCGPAError').hide();
//            $('#GDurationFromError').hide();
//            $('#GDurationToError').hide();


//            $('#PCourseError').hide();
//            $('#PCourseTypeError').hide();
//            $('#PUniversityError').hide();
//            $('#PCGPAError').hide();
//            $('#PDurationToError').hide();
//            $('#PDurationFromError').hide();

            var fname = $('#element_1_1').val();
            //var mname = $('#element_1_2').val();
            var lname = $('#element_1_3').val();
            var email = $('#element_2').val();
            var altEmail = $('#element_3').val();
            var Dob = $('#DOB').val();
            var Contact = $('#txtContactNumber1').val();
            var TmpAddress = $('#txtTempAddress').val();
            var PerAddress = $('#txtPermanentAddress').val();
            var Pincode = $('#txtPincode').val();
            var State = $('#txtState').val();
            var City = $('#txtCity').val();

            var XCourse = $('#XCourse').val();
            var XCourseType = $('#XCourseType').val();
            var XUniversity = $('#XUniversity').val();
            var XCGPA = $('#XCGPA').val();
            var XDurationFrom = $('#XDurationFrom').val();
            var XDurationTo = $('#XDurationTo').val();

            var XIICourse = $('#XIICourse').val();
            var XIICourseType = $('#XIICourseType').val();
            var XIIUniversity = $('#XIIUniversity').val();
            var XIICGPA = $('#XIICGPA').val();
            var XIIDurationFrom = $('#XIIDurationFrom').val();
            var XIIDurationTo = $('#XIIDurationTo').val();

//            var PCourse = $('#PCourse').val();
//            var PCourseType = $('#PCourseType').val();
//            var PUniversity = $('#PUniversity').val();
//            var PCGPA = $('#PCGPA').val();
//            var GDurationFrom = $('#GDurationFrom').val();
//            var GDurationTo = $('#GDurationTo').val();


//            var GCourse = $('#GCourse').val();
//            var GCourseType = $('#GCourseType').val();
//            var GUniversity = $('#GUniversity').val();
//            var GCGPA = $('#GCGPA').val();
//            var PDurationFrom = $('#PDurationFrom').val();
//            var PDurationTo = $('#PDurationTo').val();
            if (XDurationTo == "") {
                $('#XDurationToError').show();

                flag = true;
            }
            if (XDurationFrom == "") {
                $('#XDurationFromError').show();

                flag = true;
            }
//            if (PDurationTo == "") {
//                $('#PDurationToError').show();

//                flag = true;
//            }
//            if (PDurationFrom == "") {
//                $('#PDurationFromError').show();

//                flag = true;
//            }
//            if (GDurationTo == "") {
//                $('#GDurationToError').show();

//                flag = true;
//            }
//            if (GDurationFrom == "") {
//                $('#GDurationFromError').show();

//                flag = true;
//            }
            if (XIIDurationTo == "") {
                $('#XIIDurationToError').show();

                flag = true;
            }
            if (XIIDurationFrom == "") {
                $('#XIIDurationFromError').show();

                flag = true;
            }
            
            if (fname == "") {
                $('#firstNameError').show();

                flag = true;
            }

            if (lname == "") {
                $('#lastNameError').show();

                flag = true;
            }

            if (email == "") {
                $('#email').show();

                flag = true;
            }
            if (altEmail == "") {
                $('#altemail').show();

                flag = true;
            }
            if (Dob == "") {
                $('#dobError').show();

                flag = true;
            }
            if (Contact == "") {
                $('#contactError').show();

                flag = true;
            }

            if (TmpAddress == "") {
                $('#tempAddressError').show();

                flag = true;
            }
            if (PerAddress == "") {
                $('#paramAddressError').show();

                flag = true;
            }
            if (Pincode == "") {
                $('#pinCodeError').show();

                flag = true;
            }
            if (State == "") {
                $('#stateError').show();

                flag = true;
            }
            if (City == "") {
                $('#cityError').show();

                flag = true;
            }

            if (XCourse == "") {
                $('#XCourseError').show();

                flag = true;
            }

            if (XCourseType == "") {
                $('#XCourseTypeError').show();

                flag = true;
            }

            if (XUniversity == "") {
                $('#XUniversityError').show();

                flag = true;
            }
            if (XCGPA == "") {
                $('#XCGPAError').show();

                flag = true;
            }
            if (XIICourse == "") {
                $('#XIICourseError').show();

                flag = true;
            }

            if (XIICourseType == "") {
                $('#XIICourseTypeError').show();

                flag = true;
            }

            if (XIIUniversity == "") {
                $('#XIIUniversityError').show();

                flag = true;
            }
            if (XIICGPA == "") {
                $('#XIICGPAError').show();

                flag = true;
            }
//            if (PCourse == "") {
//                $('#PCourseError').show();

//                flag = true;
//            }

//            if (PCourseType == "") {
//                $('#PCourseTypeError').show();

//                flag = true;
//            }

//            if (PUniversity == "") {
//                $('#PUniversityError').show();

//                flag = true;
//            }
//            if (PCGPA == "") {
//                $('#PCGPAError').show();

//                flag = true;
//            }
//            if (GCourse == "") {
//                $('#GCourseError').show();

//                flag = true;
//            }

//            if (GCourseType == "") {
//                $('#GCourseTypeError').show();

//                flag = true;
//            }

//            if (GUniversity == "") {
//                $('#GUniversityError').show();

//                flag = true;
//            }
//            if (GCGPA == "") {
//                $('#GCGPAError').show();

//                flag = true;
//            }



            if (flag == true) {
                alert("Please Provide all information...!");
                return false;
                
            }
            
        });


    });

</script>

@using (@Html.BeginForm("GetUpdatedUserProfile", "Account", FormMethod.Post, new { id = "validate", enctype = "multipart/form-data" }))
{ 
<div class="grid_10">
        <div class="box round first">
            <h2>Update Profile</h2>
            <div id="right_cont">
                <!--tab container-->
                <div id="tab_container">
                    <div id="container">
                        <ul class="menu">
                            <li id="news" class="active">Personal Info</li>
                            <li id="tutorials">Educational Info</li>
                            <li id="links">Work Experience</li>
                        </ul>
                        <span class="clear"></span>
                        <div class="content news">
                           <div style="border: 1px solid black">
                    <ul>
                          <li id="li_1">
                                            <label class="description" for="element_1">
                                                Name
                                            </label>
                                            <br />
                                            <span>
                                                @Html.TextBoxFor(m => m.FirstName, new { id = "element_1_1", @class = "element text", maxlength = "255", size = "8", value = "" })
                                                <label>
                                                    First</label>
                                                <span class="error" id="firstNameError">*</span> </span><span>
                                                    @Html.TextBoxFor(m => m.MiddleName, new { id = "element_1_2", name = "element_1_2", @class = "element text", maxlength = "255", size = "8", value = "" })
                                                    <label>
                                                        Middel</label>
                                                </span><span>
                                                    @Html.TextBoxFor(m => m.LastName, new { id = "element_1_3", name = "element_1_2", @class = "element text", maxlength = "255", size = "8", value = "" })
                                                    <label>
                                                        Last</label>
                                                    <span class="error" id="lastNameError">*</span> </span></li>
                                        <li id="li_2">
                                            <label class="description" for="element_2">
                                                Email
                                            </label>
                                            <br />
                                            <div>
                                                @Html.TextBoxFor(m => m.Email, new { id = "element_2", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                                <span class="error" id="email">*</span>
                                            </div>
                                            <br />
                                            <br />
                                        </li>
                                        <li id="li_3">
                                            <label class="description" for="element_3">
                                                AlternateEmail
                                            </label>
                                            <br />
                                            <div>
                                                @Html.TextBoxFor(m => m.AlternateEmail, new { id = "element_3", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                                <span class="error" id="altemail">*</span>
                                            </div>
                                            <br />
                                            <br />
                                        </li>
                        <li id="li_5">
                            <label class="description" for="element_5">
                                Date of Birth
                            </label>
                            <br />
                            <div>
                             @Html.TextBoxFor(m => m.DateOfBirth, new { id = "DOB", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                             <span class="error" id="dobError">*</span>
                            </div>
                            </li>
                            <li id="li_16">
                                            <label class="description" for="element_6">
                                                Gender
                                            </label>
                                            <br />
                                            <div>
                                            @Html.DropDownListFor(m => m.Gender, new SelectList(ViewBag.Gender as System.Collections.IEnumerable), new {id="gender", @class = "element text medium",@style="float:left;" })
                                            </div>
                                            <br />
                                            <br />
                                        </li>
                        <li id="li_6">
                            <label class="description" for="element_6">
                                Profile Image
                            </label>
                            <br />
                            <div>
                               @if (Model.Image1 != "")
                            {
                                <img width="100px" style="float:left;" height="100px" src="/img/Employee/@Model.Image1" />
                            }
                            else
                            { 
                                <img width="100px" style="float:left;" height="100px" src="/img/Employee/administrator.jpg" />
                            }
                            </div>
                            <div>
                                <input id="profileImage" name="profileImage" class="element file" type="file" />
                            </div>
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                        </li>
                        <li id="li_4">
                            <label class="description" for="element_3">
                                Contact 1
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.ContactNumber1, new { id = "txtContactNumber1", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                              <span class="error" id="contactError">*</span>
                            </div>
                            <br />
                            <br />
                        </li>
                        <li id="li_7">
                            <label class="description" for="element_3">
                                Contact 2
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.ContactNumber2, new { id = "txtContactNumber2", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                            </div>
                            <br />
                            <br />
                        </li>
                        <li id="li_8">
                            <label class="description" for="element_3">
                                Temprorary Address
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.TemporaryAddress, new { id = "txtTempAddress", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                               <span class="error" id="tempAddressError">*</span>
                            </div>
                            <br />
                            <br />
                        </li>
                        <li id="li_9">
                            <label class="description" for="element_3">
                                Permanent Address
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.PermanentAddress, new { id = "txtPermanentAddress", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                               <span class="error" id="paramAddressError">*</span>
                            </div>
                            <br />
                            <br />
                        </li>
                        <li id="li_10">
                            <label class="description" for="element_3">
                                PIN Code
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.Pincode, new { id = "txtPincode", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                <span class="error" id="pinCodeError">*</span>
                            </div>
                            <br />
                            <br />
                        </li>
                        <li id="li_11">
                            <label class="description" for="element_3">
                                State
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.State, new { id = "txtState", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                               <span class="error" id="stateError">*</span>
                            </div>
                            <br />
                            <br />
                        </li>
                        <li id="li_12">
                            <label class="description" for="element_3">
                                City
                            </label>
                            <br />
                            <div>
                                @Html.TextBoxFor(m => m.City, new { id = "txtCity", name = "element_3", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                             <span class="error" id="cityError">*</span>
                            </div>
                            <br />
                            <br />
                        </li>
                        <li class="buttons">
                            <button class="btn btn-orange" runat="server">
                                Update</button>
                            
                            <button class="btn btn-orange" id="btnCancel">
                                Cancel</button>
                        </li>
                    </ul>
                    </div>
                        </div>
                        <div class="content tutorials">
                           <div style="border: 1px solid black">
                        <h6 style="float: left; margin-left: 10px;">
                            Educational Details</h6>
                            <table style="text-align:left;">
                            <tr>
                            <td><div style="border: 1px solid black; margin-left: 5px; margin-top: 15px; width:500px;">
                            <ul>
                            <li id="li_13">
                                <label class="description" for="element_2">
                                    X Standered
                                </label>
                                <br />
                                <label class="description" for="element_2">
                                    Course Name
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XCourse, new { id = "XCourse", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XCourseError">*</span>
                                </div>
                                <br />
                                <br />
                                <table>
                                    <tr>
                                        <td colspan="2">
                                            <label class="description" for="element_5">
                                                Duration
                                            </label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label class="description" for="XDurationFrom">
                                                From
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.XFrom, new { id = "XDurationFrom", name = "XDurationFrom", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="XDurationFrom" name="XDurationFrom" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                               <span class="error" id="XDurationFromError">*</span>
                                            </span>
                                        </td>
                                        <td>
                                            <label class="description" for="element_5">
                                               - To
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.XTo, new { id = "XDurationTo", name = "XDurationTo", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="XDurationTo" name="XDurationTo" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                <span class="error" id="XDurationToError">*</span>
                                            </span>
                                        </td>
                                    </tr>
                                </table>
                                <label class="description" for="element_2">
                                    Course Type
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XCourseType, new { id = "XCourseType", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XCourseTypeError">*</span>
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    University
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XUniversity, new { id = "XUniversity", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XUniversityError">*</span>
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    CGPA
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XCGPA, new { id = "XCGPA", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XCGPAError">*</span>
                                </div>
                                <br />
                                <br />
                            </li>
                            </ul>
                        </div></td>
                        <td><div style="border: 1px solid black; margin-left: 5px; margin-top: 15px; width:500px;">
                            <ul>
                            <li id="li_14">
                                <label class="description" for="element_2">
                                    XII Standered
                                </label>
                                <br />
                                <label class="description" for="element_2">
                                    Course Name
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XIICourse, new { id = "XIICourse", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XIICourseError">*</span>
                                </div>
                                <br />
                                <br />
                                <table>
                                    <tr>
                                        <td colspan="2">
                                            <label class="description" for="element_5">
                                                Duration
                                            </label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label class="description" for="element_5">
                                                From
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.XIIFrom, new { id = "XIIDurationFrom", name = "XIIDurationFrom", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="XIIDurationFrom" name="XIIDurationFrom" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                <span class="error" id="XIIDurationFromError">*</span>
                                            </span>
                                        </td>
                                        <td>
                                            <label class="description" for="element_5">
                                               - To
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.XIITo, new { id = "XIIDurationTo", name = "XIIDurationTo", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                               @* <input id="XIIDurationTo" name="XIIDurationTo" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                <span class="error" id="XIIDurationToError">*</span>
                                            </span>
                                        </td>
                                    </tr>
                                </table>
                                <label class="description" for="element_2">
                                    Course Type
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XIICourseType, new { id = "XIICourseType", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XIICourseTypeError">*</span>
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    University
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XIIUniversity, new { id = "XIIUniversity", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XIIUniversityError">*</span>
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    CGPA
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.XIICGPA, new { id = "XIICGPA", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    <span class="error" id="XIICGPAError">*</span>
                                </div>
                                <br />
                                <br />
                            </li>
                            </ul>
                        </div></td>
                            </tr>
                            <tr>
                            <td><div style="border: 1px solid black; margin-left: 5px; margin-top: 15px; width:500px;">
                            <ul>
                            <li id="li_17">
                                <label class="description" for="element_2">
                                    Graduation
                                </label>
                                <br />
                                <label class="description" for="element_2">
                                    Course Name
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.GCourse, new { id = "GCourse", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="GCourseError">*</span>*@
                                </div>
                                <br />
                                <br />
                                <table>
                                    <tr>
                                        <td colspan="2">
                                            <label class="description" for="element_5">
                                                Duration
                                            </label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label class="description" for="element_5">
                                                From
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.GFrom, new { id = "GDurationFrom", name = "GDurationFrom", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="GDurationFrom" name="GDurationFrom" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                @*<span class="error" id="GDurationFromError">*</span>*@
                                            </span>
                                        </td>
                                        <td>
                                            <label class="description" for="element_5">
                                               - To
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.GTo, new { id = "GDurationTo", name = "GDurationTo", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="GDurationTo" name="GDurationTo" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                @*<span class="error" id="GDurationToError">*</span>*@
                                            </span>
                                        </td>
                                    </tr>
                                </table>
                                <label class="description" for="element_2">
                                    Course Type
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.GCourseType, new { id = "GCourseType", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="GCourseTypeError">*</span>*@
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    University
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.GUniversity, new { id = "GUniversity", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="GUniversityError">*</span>*@
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    CGPA
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.GCGPA, new { id = "GCGPA", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="GCGPAError">*</span>*@
                                </div>
                                <br />
                                <br />
                            </li>
                            </ul>
                        </div></td>
                        <td><div style="border: 1px solid black; margin-left: 5px; margin-top: 15px; width:500px;">
                            <ul>
                            <li id="li_15">
                                <label class="description" for="element_2">
                                    Post Graduation
                                </label>
                                <br />
                                <label class="description" for="element_2">
                                    Course Name
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.PCourse, new { id = "PCourse", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="PCourseError">*</span>*@
                                </div>
                                <br />
                                <br />
                                <table>
                                    <tr>
                                        <td colspan="2">
                                            <label class="description" for="element_5">
                                                Duration
                                            </label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <label class="description" for="element_5">
                                                From
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.PFrom, new { id = "PDurationFrom", name = "PDurationFrom", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="PDurationFrom" name="PDurationFrom" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                @*<span class="error" id="PDurationFromError">*</span>*@
                                            </span>
                                        </td>
                                        <td>
                                            <label class="description" for="element_5">
                                               - To
                                            </label>
                                            <br />
                                            <span>
                                            @Html.TextBoxFor(m => m.PTo, new { id = "PDurationTo", name = "PDurationTo", @class = "element text", type = "text", maxlength = "4", size = "4", value = "" })
                                                @*<input id="PDurationTo" name="PDurationTo" class="element text" size="4" maxlength="4" value="" type="text" />*@
                                                @*<span class="error" id="PDurationToError">*</span>*@
                                            </span>
                                        </td>
                                    </tr>
                                </table>
                                <label class="description" for="element_2">
                                    Course Type
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.PCourseType, new { id = "PCourseType", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="PCourseTypeError">*</span>*@
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    University
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.PUniversity, new { id = "PUniversity", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="PUniversityError">*</span>*@
                                </div>
                                <br />
                                <br />
                                <label class="description" for="element_2">
                                    CGPA
                                </label>
                                <br />
                                <div>
                                    @Html.TextBoxFor(m => m.PCGPA, new { id = "PCGPA", name = "element_2", @class = "element text medium", type = "text", maxlength = "255", value = "" })
                                    @*<span class="error" id="PCGPAError">*</span>*@
                                </div>
                                <br />
                                <br />
                            </li>
                            </ul>
                        </div></td>
                            </tr>
                            <tr>
                            <td colspan="2" align="center">
                            <ul>
                             <li class="buttons">
                            <button class="btn btn-orange" runat="server">
                                Update</button>
                            
                            <button class="btn btn-orange" id="btnCancel">
                                Cancel</button>
                        </li>
                        </ul>
                            </td>
                            </tr>
                            </table>
                        
                    </div>
                        </div>
                        <div class="content links">
                            <div id="wrokExperince">
                       
                       </div> 
                        </div>
                    </div>
                    <!--tab container ends-->
                </div>
                <!--middle left-->
            </div>










        
        </div>
    </div>
}